package mate.events {
	import flash.events.Event;
	
	public class SearchEvent extends Event {
		// initiate search by sending search criteria to service 
		public static const SEARCH:String = "vfc.search.search";
		public static const INVALID:String = "vfc.search.invalid";
		public static const FAILED_SEARCH:String = "vfc.search.failed_search";
		public static const NO_RESULTS:String = "vfc.search.no_results";
	
		// search criteria
		public var zipCode:Object;
		public var serviceTypeID:int = 8;
			
		public function SearchEvent(type:String, bubbles:Boolean = true, cancelable:Boolean = false) {
			trace("NEW SEARCH EVENT");
			super(type, bubbles, cancelable);
			
		}
	}
}